Support Chrome Puppeteer API
Categories
(DevTools :: General, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: aslushnikov, Assigned: aslushnikov)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
I’m tying up a few loose ends today by making sure Bugzilla reflects
reality.
As a result of the hard work by aslushnikov et al. on this patch and
in fact since discussions going as far back as to TPAC two years ago,
we have had multiple Mozilla-internal discussions debating how best to
tackle the challenge of gaining Puppeteer support in Firefox. It
should be abundantly clear to all parties involved that Puppeteer is
increasingly making its way into web authors’ toolboxes as a preferred
browser automation tool, and that its bidirectional and asynchronous
API is appealing to many.
Not supporting Puppeteer also poses significant web interoperability
risk to Mozilla. As websites migrate automation to Puppeteer, the
lack of cross-browser support in many cases leaves Firefox untested,
forcing Firefox to play a catch-up game addressing web compatibility
issues.
Simultenously Mozilla’s ambitions stretch beyond Puppeteer’s feature
set. Puppeteer is backed by the Chrome DevTools Protocol (CDP), which
also drives an armada of other tools. The simlarities between the
Juggler protocol presented in this patch and CDP are uncanny, and we
believe that it is in the best interest of the open web for us to
instead implement the subsets of CDP that allows us to support the
Puppeteer API surface.
To this effect, we have filed
https://bugzilla.mozilla.org/show_bug.cgi?id=puppeteer as a tracking
bug for gaining Puppeteer support in Firefox. The scope of this work
is limited to the subset of CDP that is necessary to support
Puppeteer’s API.
Due to the astonishing progress made on
https://github.com/aslushnikov/gecko-dev/tree/master/testing/juggler,
we would like to uplift and port large parts of the existing Juggler
implementation into our CDP implementation in Firefox.
I see great potential for collaboration in this area.
Have a great weekend, and I’ll see you all in the meeting on Tuesday!
Description
•